package com.joymart.compute.model;

import com.joymart.user.model.BusinessRole;
import lombok.Data;
import org.springframework.data.annotation.Id;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class MonthlyGroupPv {

    @Id
    private String id;
    private String userId;
    //统计维度 暂时只有批发商或代理
    private BusinessRole scale;
    // 数值
    private BigDecimal amount;
    // 月份
    private LocalDateTime month;
    private LocalDateTime createdAt;

}
